WooCommerce\PayPalCommerce\Button\Endpoint\CreateOrderEndpoint S

Total Complexity 40
Dependencies 21
Dependents 2
Total lines 359
Lines of code 158
Logical lines of code 87
Comment lines 134
Methods 9
Properties 12

Methods 9

Method Rating Maintainability Complexity Lines of code
handle_request()
A
40 15 59
payer()
S
54 6 20
after_checkout_validation()
S
52 4 25
payment_method()
S
63 4 11
create_paypal_order()
S
61 3 12
set_bn_code()
S
66 3 8
validate_paynow_form()
S
66 3 8
__construct()
S
62 1 12
nonce()
S
80 1 3